//
//  DWEventViewController.m
//  OCAPPDemo
//
//  Created by 杨冬武 on 2021/4/22.
//

#import "DWEventViewController.h"
#import "UIView+ydw.h"
#import "DWEventView.h"
#import "DWButton.h"

@interface DWEventViewController ()

@property (weak, nonatomic) IBOutlet DWEventView *view01;

@property (weak, nonatomic) IBOutlet DWButton *testButton;

@end

@implementation DWEventViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.testButton addTarget:nil action:@selector(clickButton:) forControlEvents:UIControlEventTouchUpInside];
    
}

- (IBAction)viewcontroller:(id)sender {
    
    UIViewController *vc = [self.view01 viewController];
    
    NSLog(@"%d", [vc isEqual:self]);
    
}

//- (void)clickButton:(id)sender {
//    NSLog(@"%s", __FUNCTION__);
//}



@end
